package com.drinkian.alipay.entity.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Notify {
    /**
     * 公共参数
     */
    private Date notifyTime;
    private String notify_type;
    private String notify_id;
    private String charset;
    private String version;
    private String sign_type;
    private String sign;
    private String auth_app_id;

    /**
     * 业务参数
     */
    // 支付宝交易号
    private String trade_no;
    // 应用的app_id
    private String app_id;
    // 商家订单号
    private String out_trade_no;
    private String out_biz_no;
    //买家支付宝账号 ID
    private String buyer_id;
    // 卖家支付宝账号 ID
    private String seller_id;
    private String trade_status;
    // 订单金额
    private Double total_amount;
    // 实收金额
    private Double refund_fee;
    // 订单标题
    private String subject;
    // 商品描述
    private String body;
    // 交易创建时间
    private Date gmt_create;
    // 交易付款时间
    private Date gmt_payment;
    // 交易退款时间
    private Date gmt_refund;
    // 交易结束时间
    private Date gmt_close;
    private String fund_bill_list;
    private String passback_params;
    /**
     * 使用优惠券才会返回
     */
    private Double receipt_amount;
    private Double invoice_amount;
    private Double buyer_pay_amount;
    private Double point_amount;
    private String vocher_detail_list;
}
